package cn.jianyongjie.org.service;

import cn.jianyongjie.basic.utils.AjaxResult;
import cn.jianyongjie.basic.vo.EcharsShopVo;
import cn.jianyongjie.org.domain.Shop;
import cn.jianyongjie.basic.service.IBaseService;
import cn.jianyongjie.org.domain.ShopAuditLog;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jianyongjie
 * @since 2022-05-01
 */
public interface IShopService extends IBaseService<Shop> {

    /*
    * @Title: IShopService
    * @Description: 店铺入驻
    * @Author: JianYongJie
    * @Version: 1.0
    * @Date:  2022/5/1 13:15
    * @Parameters: * @param shop
    * @Return void
    */
    AjaxResult settlement(Shop shop);


    /*
    * @Title: IShopService
    * @Description: 批量新增
    * @Author: JianYongJie
    * @Version: 1.0
    * @Date:  2022/5/7 10:00
    * @Parameters: * @param shops
    * @Return void
    */
    void addShops(List<Shop> shops);


    /*
    * @Title: IShopService
    * @Description: 分组查询状态条数
    * @Author: JianYongJie
    * @Version: 1.0
    * @Date:  2022/5/5 21:20
    * @Parameters: * @param
    * @Return java.util.List<java.lang.Long>
    */
    List<EcharsShopVo> findShopStatistics();


    /*
    * @Title: IShopService
    * @Description: 审核通过接口
    * @Author: JianYongJie
    * @Version: 1.0
    * @Date:  2022/5/6 12:39
    * @Parameters: * @param shopAuditLog
    * @Return void
    */
    void pass(ShopAuditLog shopAuditLog);


    /*
    * @Title: IShopService
    * @Description: 审核驳回接口
    * @Author: JianYongJie
    * @Version: 1.0
    * @Date:  2022/5/6 12:39
    * @Parameters: * @param shopAuditLog
    * @Return void
    */
    void reject(ShopAuditLog shopAuditLog);
}
